/*
 * @Author: cgl
 * @Date: 2023-04-19 15:47:58
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-24 15:46:54
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\basicData\inspectionMethod.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询检测方法列表
export function inspectionMethodList(params) {
  return request({
    url: '/basic/inspection/method/list',
    method: 'get',
    params,
  })
}
// 导出检测方法列表
export function inspectionMethodExport(data) {
  return request({
    url: `/basic/inspection/method/export`,
    method: "post",
    data,
  });
}
// 获取检测方法详细信息
export function inspectionMethodDetail(inspectionMethodId) {
  return request({
    url: '/basic/inspection/method/' + inspectionMethodId,
    method: 'get'
  })
}
// 新增检测方法
export function inspectionMethodAdd(data) {
  return request({
    url: `/basic/inspection/method/add`,
    method: "post",
    data,
  });
}
// 修改检测方法
export function inspectionMethodEdit(data) {
  return request({
    url: '/basic/inspection/method/edit',
    method: 'post',
    data,
  })
}
// 删除检测方法
export function inspectionMethodDelete(inspectionMethodIds) {
  return request({
    url: '/basic/inspection/method/remove/' + inspectionMethodIds,
    method: 'get'
  })
}